package com.example.hydropowermanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface ImageMapper {

    // 更新user数据库中的user_avaterurl字段
    @Update("update user set userAvaterurl = #{userAvaterurl} where id = #{userId}")
    void updateAvaterurl(String userAvaterurl, int userId);
}
